import { DzxService } from './dzx/dzx.service';
import { MengnanService } from './mengnan.service';
import dotenv from 'dotenv';
import path from 'path';
dotenv.config({ path: path.join(__dirname, '../.env') });

export const configService = {
  provide: 'configService',
  useClass:
    process.env.NODE_ENV === 'development' ? DzxService : MengnanService,
};
